$(function () {

    getMyQuestionList(1);

    $("body")
        .on("click","#btn1",function () {
            window.location.href = baseloaction + '/mobile/uc/qa/toMyQuestionView?queryType=1'
        }).on("click","#btn2",function () {
        window.location.href = baseloaction + '/mobile/uc/qa/toMyQuestionView?queryType=2'
        }).on("click","#btn3",function () {
            window.location.href = baseloaction + '/mobile/uc/qa/toMyQuestionView?queryType=3'
        }).on("click","#btn4",function () {
            window.location.href = baseloaction + '/mobile/uc/qa/toMyQuestionView?queryType=4'
        });

    function getMyQuestionList(pageNo) {
        var params = $("#question-form").serializeJSON();
        params = JSON.stringify(params);
        loadMobilePathData({
            url: baseloaction + '/mobile/uc/qa/queryMyQuestionList',
            contextId: 'question-list-content',
            params: params,
            pageNo: pageNo,
            pageCall: getMyQuestionList,
            callback: function (pageNo) {
                $("#count").html('问题列表（'+ total +'）');
            }
        });
    }
});